package com.silverbox.waimai.entity;

import java.util.Date;

/**
box_order_promotion_record
 */
public class OrderPromotionRecord {
    /**
     */
    private Integer id;

    /**
     * 商家ID
     */
    private Integer shopId;

    /**
     * 店铺ID
     */
    private Integer storeId;

    /**
     * 机器ID
     */
    private Long machineId;

    /**
     * 服务商ID
     */
    private Integer serviceId;

    /**
     * 优惠活动ID
     */
    private Integer promotionId;

    /**
     * 订单编号
     */
    private String orderNum;

    /**
     * 下单时间
     */
    private Date orderDate;

    /**
     * 优惠规则类型
     */
    private Integer promotionType;

    /**
     * 优惠类型（00：订单折扣，01：订单满X减Y ，02：订单满X折Y，03：会员折扣，04：抹零折，05：零头，10：支付宝商家优惠，11：支付宝平台优惠，12：支付宝全场折扣，13：支付宝全场满减，14：支付宝全场代金，21：美团商家优惠，22：美团平台优惠，31：饿了么商家优惠，32：饿了么平台优惠）
     */
    private String discountType;

    /**
     * 优惠名称
     */
    private String promotionName;

    /**
     * 优惠描述
     */
    private String promotionDesc;

    /**
     * 优惠前金额
     */
    private Double beforePromotionAmount;

    /**
     * 优惠金额
     */
    private Double promotionAmount;

    /**
     * 优惠来源（0：银盒子优惠，1：支付宝优惠，2：美团优惠，3：饿了么优惠）
     */
    private Integer promotionSource;

    /**
     * 记录自定义支付方式上架是否有效（0：无效（下架），1：有效）
     */
    private Integer isValid;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date modifyTime;

    /**
     */
    private Integer extendCol;

    /**
     * 优惠券ID
     */
    private String voucherId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Long getMachineId() {
        return machineId;
    }

    public void setMachineId(Long machineId) {
        this.machineId = machineId;
    }

    public Integer getServiceId() {
        return serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public Integer getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(Integer promotionId) {
        this.promotionId = promotionId;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum == null ? null : orderNum.trim();
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public Integer getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(Integer promotionType) {
        this.promotionType = promotionType;
    }

    public String getDiscountType() {
        return discountType;
    }

    public void setDiscountType(String discountType) {
        this.discountType = discountType == null ? null : discountType.trim();
    }

    public String getPromotionName() {
        return promotionName;
    }

    public void setPromotionName(String promotionName) {
        this.promotionName = promotionName == null ? null : promotionName.trim();
    }

    public String getPromotionDesc() {
        return promotionDesc;
    }

    public void setPromotionDesc(String promotionDesc) {
        this.promotionDesc = promotionDesc == null ? null : promotionDesc.trim();
    }

    public Double getBeforePromotionAmount() {
        return beforePromotionAmount;
    }

    public void setBeforePromotionAmount(Double beforePromotionAmount) {
        this.beforePromotionAmount = beforePromotionAmount;
    }

    public Double getPromotionAmount() {
        return promotionAmount;
    }

    public void setPromotionAmount(Double promotionAmount) {
        this.promotionAmount = promotionAmount;
    }

    public Integer getPromotionSource() {
        return promotionSource;
    }

    public void setPromotionSource(Integer promotionSource) {
        this.promotionSource = promotionSource;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getExtendCol() {
        return extendCol;
    }

    public void setExtendCol(Integer extendCol) {
        this.extendCol = extendCol;
    }

    public String getVoucherId() {
        return voucherId;
    }

    public void setVoucherId(String voucherId) {
        this.voucherId = voucherId == null ? null : voucherId.trim();
    }
}